<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.BGM" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.BGM" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:53946/BidService.svc?xsd=xsd8" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ACM" />
  <xs:complexType name="MasBudgetExpense">
    <xs:sequence>
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ACM" minOccurs="0" name="Account" nillable="true" type="q1:MasAccount" />
      <xs:element minOccurs="0" name="AccountId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="BgExpGrpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="BgExpGrpIdReal" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="BgExpId" type="xs:int" />
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GfmisCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IcmResourceId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="IcmResourceType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LowerMasBudgetExpense" nillable="true" type="tns:ArrayOfMasBudgetExpense" />
      <xs:element minOccurs="0" name="MasBudgetExpenseGroup" nillable="true" type="tns:MasBudgetExpenseGroup" />
      <xs:element minOccurs="0" name="MasBudgetExpenseGroupReal" nillable="true" type="tns:MasBudgetExpenseGroup" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="UpperBgExpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpperMasBudgetExpense" nillable="true" type="tns:MasBudgetExpense" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasBudgetExpense" nillable="true" type="tns:MasBudgetExpense" />
  <xs:complexType name="ArrayOfMasBudgetExpense">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="MasBudgetExpense" nillable="true" type="tns:MasBudgetExpense" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMasBudgetExpense" nillable="true" type="tns:ArrayOfMasBudgetExpense" />
  <xs:complexType name="MasBudgetExpenseGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="BgExpGrpId" type="xs:int" />
      <xs:element minOccurs="0" name="BgmExpGrpX" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="BgmSourceId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GfmisCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MasBudgetExpenseGroup" nillable="true" type="tns:MasBudgetExpenseGroup" />
</xs:schema>